package dk.itu.samd.group2.tagapastry;

import rice.p2p.commonapi.NodeHandle;

public interface ReplicationStrategy {
	
	/*
	 * Synchronize data with node that has just joined or leaft the pastry
	 * ring
	 * @param taga Has a reference to a local node
	 * @param handle Has a reference to a node which joined/failed ring
	 * @param result Indicates if node joined (true) or left (false) ring
	 */
	public void syncData(TagapastryImpl taga, NodeHandle handle, boolean result);
}
